package com.pd.consumer.controller;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: dong peng
 * @date: 2019/10/10 11:06
 * @description:
 */
@Component
public class HystrixRemote implements HelloRemote {
    @Override
    public String hello(@RequestParam(value = "name") String name) {
        return "hello" +name+", this messge send failed ";
    }
}
